const { STRING, INTEGER } = require("sequelize")
const seq = require("./seq")

// 定义模型
const Category = seq.define("Category", {
  name: {
    type: STRING,
    allowNull: false,
    comment: "商品类别"
  }
}, {
  timestamps: false,
  underscored: true
})

// 发布模型
module.exports = Category
